import pymysql

Conn  = pymysql.connect(host="211.103.136.244",port=7061,user="student",password="iHRM_student_2021",database="test_db",charset="utf8")


cursor = Conn.cursor()

cursor.execute("select version()")
print(cursor.fetchall())


cursor.close()

Conn.close()